<%@ include file="/taglibs.jsp"%>

<title><fmt:message key="fieldList.title"/></title>
<div align="right">
	<button onclick="location.href='editField.html'" style="text-align: center;" >
		<fmt:message key="button.add.title"></fmt:message>
		<img src="${ctx}/images/btn_add.png" align="left" height="20" width="20">
	</button>
</div>
<s:set name="fields" value="list" scope="request"/>
<display:table name="fields" class="table" requestURI="" id="fieldList" export="false" pagesize="10">
    <display:column property="name" href="editField.html" media="html"
        paramId="id" paramProperty="id" sortable="true" titleKey="field.name" escapeXml="true"/>
    <display:column property="department.name" media="html" titleKey="department.name" />
    <display:column property="description" media="html" titleKey="field.description" />
</display:table>

<script type="text/javascript">highlightTableRows("fieldList");</script>
<button onclick="location.href='editField.html'" style="text-align: center;" >
	<fmt:message key="button.add.title"></fmt:message>
	<img src="${ctx}/images/btn_add.png" align="left" height="20" width="20">
</button>
